<ion-modal-view>
  <ion-header-bar class="bar-stable">
    <a ng-click="closeChangePassword()" 
    class="button icon-left ion-chevron-left button-clear button-icon" ></a>
    <h1 class="title">修改密码</h1>
    <a ng-click="confirmChangePassword()" 
    class="button button-icon ion-android-done button-clear" 
    ng-disabled="!passwordData.oldPassword || !passwordData.password1 
    || !passwordData.password2 || passwordData.password2!=passwordData.password1"></a>
  </ion-header-bar>
  <ion-content>
    <form name="passwordForm" >
      <div class="list">
        <label class="item item-input item-stacked-label">
          <span class="input-label">输入原密码</span>
          <input type="password" ng-model="passwordData.oldPassword" required ng-minlength="6">
        </label>
        <label class="item item-input item-stacked-label">
          <span class="input-label">输入新密码(6位)</span>
          <input type="password" ng-model="passwordData.password1" required ng-minlength="6">
        </label>
        <label class="item item-input item-stacked-label">
          <span class="input-label">再输入一次(6位)</span>
          <input type="password" ng-model="passwordData.password2" required ng-minlength="6">
        </label>        
      </div>
    </form>
  </ion-content>
</ion-modal-view>